package com.auto.learning.store.core.table;

import java.io.Serializable;

import android.text.TextUtils;

import com.auto.learning.store.core.BaseModel;
import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

@DatabaseTable(tableName = "tb_user_info")
public class UserInfoTable extends BaseModel<UserInfoTable, Integer> implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@DatabaseField(id = true, generatedId = false)
	protected int id;  //其实是用户ID
	@DatabaseField
	protected String content;
	@DatabaseField
	protected String describe;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getDescribe() {
		if (TextUtils.isEmpty(describe)) {
			describe = "";
		}
		return describe;
	}

	public void setDescribe(String describe) {
		this.describe = describe;
	}

}
